﻿using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WinStudentMS
{
    class CommandInfo
    {
        public string CommandText;
        public DbParameter[] Parameters;
        public bool IsProc;

        public CommandInfo()
        {

        }

        public CommandInfo(string comText, bool isProc)
        {
            this.CommandText = comText;
            this.IsProc = isProc;
        }

        public CommandInfo(string sqlText, bool isProc, DbParameter[] parameters)
        {
            this.Parameters = parameters;
            this.IsProc = isProc;
            this.CommandText = sqlText;
        }
    }
}
